package com.fmx.BookStore.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fmx.BookStore.domain.Permission;

import java.util.List;

public interface IPermissionService extends IService<Permission> {
    Permission selectPermissionById(Long permissionId);
    List<Permission> listPermission(Permission permission);
    int insertPermission(Permission permission);
    int updatePermission(Permission permission);
    int deletePermission(Long permissionId);
    public List<Permission> findMenus(String name);
}
